<%-- 
    Document   : SongLyrics
    Created on : Jun 10, 2012, 5:22:34 PM
    Author     : Jaice
--%>

<%@tag description="put the tag description here" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/style.css" />

<%-- The list of normal or fragment attributes can be specified here: --%>
<%@attribute name="message"%>
<%@attribute name="song" required="true" rtexprvalue="true" type="model.Song"%>

<%-- any content can be specified here e.g.: --%>
<h2>${message}</h2>

<div id="itunewindow">

    <FORM>
        <INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);return true;">
    </FORM>


    <c:url value="/BuySongController" var="urlBuy">
        <c:param name="songId" value="${song.songId}"/>
    </c:url>   
    <a href="${urlBuy}"><input id="btnBuy" type="button" value="Buy" name="btnBuy" > </a> 


    <div id="lyrics">
        <span id="lyrichead" >LYRICS FOR ${song.title} by ${song.artist}</span>  
        <br/><br/>
        <span id ="lyricshow">${song.lyrics}</span>  
    </div>


</div>